package com.jm.web.form;


import java.io.IOException;

import javax.servlet.jsp.JspWriter;

import com.jm.web.form.support.FormItem;

/**
 * @author yanjie
 *
 * 2011/9/19 上午11:27:31
 * 竖分隔线
 */
public class Separate extends FormItem{
	/**
	 * @param tag
	 */
	public Separate() {}

	public final static String TAG_ITEMNAME = "separate";
	
	@Override
	public void onRender(JspWriter writer) {
		try {
			writer.write("<span class=\"xtb-sep\">&nbsp;</span>");
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	public String toOutString(){
		return "<span class=\"xtb-sep\">&nbsp;</span>";
	}
}
